public class InnerDemo {
    String name;
    Inner inner;

    public InnerDemo(String name) {
        this.name = name;
    }

    public InnerDemo() {
        inner = new Inner();
    }

    public Inner getInner() {
        return inner;
    }

    /**
     * 内部类
     */
    public class Inner{
        String a;
    }
}
